//初始化一级玩法菜单
var dpcPlayRules = function() {
	var thisPanel = $(".l-c-one");
	thisPanel.empty();
	var html = '<li class="cur" onclick ="dpcZXPlayRules()">直选</li>'
			+ '<li onclick ="dpcZUXPlayRules()">组选</li>'
			+ '<li onclick ="dpcEXPlayRules()">二星</li>'
			+ '<li onclick ="dpcBDWPlayRules()">不定位</li>'
			+ '<li onclick ="dpcDWDPlayRules()">定位胆</li>'
			+ '<li onclick ="dpcHZPlayRules()">和值</li>'
			+ '<li onclick ="dpcQWPlayRules()">趣味</li>';
	thisPanel.html(html);
	dpcZXPlayRules();
};

//直选
var dpcZXPlayRules = function() {
	var thisPanel = $(".lott-Control").find(".l-c-item");
	thisPanel.empty()
	var oneHtml = '<span>直选：</span><ul class="l-c-tow">'
			+ '<li class="cur" onclick ="Lottery_Rule.chooseRule(\'pl3zxfs\')">复式</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'pl3zxds\')">单式</li></ul>';
	thisPanel.eq(0).html(oneHtml);
	Lottery_Rule.chooseRule('pl3zxfs');
}
// 组选
var dpcZUXPlayRules = function() {
	var thisPanel = $(".lott-Control").find(".l-c-item");
	thisPanel.empty()
	var oneHtml = '<span>组选：</span><ul class="l-c-tow">'
			+ '<li class="cur" onclick ="Lottery_Rule.chooseRule(\'pl3zux3\')">组三</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'pl3zux6\')">组六</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'pl3zuxhh\')">混合</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'pl3zux3dt\')">组三胆拖</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'pl3zux6dt\')">组六胆拖</li>'
			+ '</ul>';
	thisPanel.eq(0).html(oneHtml);
	Lottery_Rule.chooseRule('pl3zux3');
}
// 二星
var dpcEXPlayRules = function() {
	var thisPanel = $(".lott-Control").find(".l-c-item");
	thisPanel.empty()
	var oneHtml = '<span>复式：</span><ul class="l-c-tow">'
			+ '<li  class="cur" onclick ="Lottery_Rule.chooseRule(\'pl3qx2fs\')">前二</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'pl3hx2fs\')">后二</li>'
			+ '</ul>'
	thisPanel.eq(0).html(oneHtml);
	var oneHtml = '<span>单式：</span><ul class="l-c-tow">'
		+ '<li onclick ="Lottery_Rule.chooseRule(\'pl3qx2ds\')">前二</li>'
		+ '<li onclick ="Lottery_Rule.chooseRule(\'pl3hx2ds\')">后二</li>'
		+ '</ul>'
thisPanel.eq(1).html(oneHtml);
	Lottery_Rule.chooseRule('pl3qx2fs');
}
// 不定位
var dpcBDWPlayRules = function() {
	var thisPanel = $(".lott-Control").find(".l-c-item");
	thisPanel.empty()
	var oneHtml = '<span>不定位：</span><ul class="l-c-tow">'
			+ '<li class="cur" onclick ="Lottery_Rule.chooseRule(\'pl3bdw\')">不定位</li>'
			+ '</ul>';
	thisPanel.eq(0).html(oneHtml);
	Lottery_Rule.chooseRule('pl3bdw');
}

//定位胆
var dpcDWDPlayRules = function() {
	var thisPanel = $(".lott-Control").find(".l-c-item");
	thisPanel.empty()
	var oneHtml = '<span>定位胆：</span><ul class="l-c-tow">'
			+ '<li class="cur" onclick ="Lottery_Rule.chooseRule(\'pl3dwd1q\')">前一</li>'
			+ '<li  onclick ="Lottery_Rule.chooseRule(\'pl3dwd1h\')">后一</li>'
			+ '</ul>'
	thisPanel.eq(0).html(oneHtml);
	Lottery_Rule.chooseRule('pl3dwd1q');
}

//和值
var dpcHZPlayRules = function() {
	var thisPanel = $(".lott-Control").find(".l-c-item");
	thisPanel.empty()
	var oneHtml = '<span>和值：</span><ul class="l-c-tow">'
			+ '<li class="cur" onclick ="Lottery_Rule.chooseRule(\'pl3hzzx\')">直选</li>'
			+ '<li  onclick ="Lottery_Rule.chooseRule(\'pl3hzzux3\')">组三</li>'
			+ '<li  onclick ="Lottery_Rule.chooseRule(\'pl3hzzux6\')">组六</li>'
			+ '<li  onclick ="Lottery_Rule.chooseRule(\'pl3hzdx\')">大小</li>'
			+ '</ul>'
	thisPanel.eq(0).html(oneHtml);
	Lottery_Rule.chooseRule('pl3hzzx');
}
//趣味
var dpcQWPlayRules = function() {
	var thisPanel = $(".lott-Control").find(".l-c-item");
	thisPanel.empty()
	var oneHtml = '<span>趣味：</span><ul class="l-c-tow">'
			+ '<li class="cur" onclick ="Lottery_Rule.chooseRule(\'pl3qwjo\')">奇偶</li>'
			+ '<li  onclick ="Lottery_Rule.chooseRule(\'pl3qwtlj\')">拖拉机</li>'
			+ '</ul>'
	thisPanel.eq(0).html(oneHtml);
	Lottery_Rule.chooseRule('pl3qwjo');
}